//
//  Task.h
//  leo
//
//  Created by 常艳 on 15/8/30.
//  Copyright (c) 2015年 mdx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "common.h"
@interface Task : NSObject

@property (nonatomic,strong) NSString  *taskId;
@property (nonatomic,strong) NSString  *ownerUid;
@property (nonatomic,strong) NSString *targetUid;
@property (nonatomic,assign) int type;//任务类型，1预置任务、2节日任务、3生日任务
@property (nonatomic,assign) long expireTs;//过期时间，如果为null或0表示不会过期
@property (nonatomic,retain) NSString * title;//任务标题
@property (nonatomic,retain) NSString * desc;//任务描述
@property (nonatomic,assign) int empirical;//任务完成获得经验值
@property (nonatomic,assign) int status;//任务状态 1未完成  2完成 3过期
@property (nonatomic,strong) NSString *  audioHash;//音频资源
@property (nonatomic,strong) NSString * downAudioUrl;//下载音频文件的url
@property (nonatomic,strong) NSString *audioUrl;//数据库保存的音频文件的url,录制的wav相对路径
@property (nonatomic,assign) int duration;// 音频时长
@property (nonatomic,strong) NSString *photoHash;//图片资源
@property (nonatomic,strong) NSString *downPicUrl;//下载图片的url
@property (nonatomic,strong) NSString *picUrl;//数据库保存的图片文件的url
@property (nonatomic,strong) NSString *randomCode;
@property (nonatomic,strong) NSString *createTime;
@property (nonatomic,strong) NSString *pushTime;
@property (nonatomic,strong) NSString *finishTime;
@property (nonatomic,strong) NSString * update_time;
@property (nonatomic,assign) int isActive;
@property (nonatomic,assign) Actiontype action;
@property (nonatomic,strong) NSString *saveUrl;//录制的wav绝对路径
@property (nonatomic,strong) NSString *audioAmrUrl;//数据库保存的amr相对路径
@property (nonatomic,strong) NSString *saveAmrUrl;//转换的amr绝对路径
@property (nonatomic, strong)NSString *tips; //小贴士
@end
